2025-10-07: Add reusable backdrop utility and enhance scooter terminal#64
Merged
john-mutuma merged 2 commits intodevelopfrom Oct 7, 2025
Merged
2025-10-07: Add reusable backdrop utility and enhance scooter terminal#64john-mutuma merged 2 commits intodevelopfrom
john-mutuma merged 2 commits intodevelopfrom
Conversation
added 2 commits
October 7, 2025 20:35
- Extract create_backdrop function in windows.lua for creating backdrop windows - Add automatic highlight setup to create_backdrop function - Refactor with_win_backdrop to use the new create_backdrop function - Add backdrop support to scooter terminal with on_open/on_close lifecycle - Update scooter terminal configuration (winblend: 12, width: 175) - Adjust lazygit window scaling factor from 0.85 to 0.8 - Update scooter.config.toml preview settings The create_backdrop function provides a reusable way to create semi-transparent backdrop windows with automatic cleanup, making it easy to add visual depth to any floating window in the editor. Signed-off-by: John Mutuma <johnmutuma@microsoft.com>
07f77cf to
f4e2d75
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a reusable backdrop utility function and integrates it with the scooter terminal for better visual depth and code reusability.
Changes:
create_backdropfunction in windows.lua for creating backdrop windowscreate_backdropfunctionwith_win_backdropto use the newcreate_backdropfunction (eliminating ~35 lines of duplicate code)on_open/on_closelifecycle managementWhy is it needed?
create_backdrop, eliminating duplicate setup codeHow have the changes been tested?
with_win_backdropScreenshots (if applicable)
Screenshots will be added after manual testing of the backdrop behavior.
Checklist